/*
 * Copyright (c) 2010 CCX(China) Co.,Ltd. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * CCX(China) Co.,Ltd. ("Confidential Information").
 * It may not be copied or reproduced in any manner without the express 
 * written permission of CCX(China) Co.,Ltd.
 *
 * Author: lilei
 * Date: 2011-7-28 ����11:10:05
 */

package com.bj.ccx.business.demo;

import java.io.Serializable;

import Ice.Current;

import com.bj.Person;
import com.bj.ccx._DemoBusinessDisp;

/**
 *	
 *  @author lilei
 */
public class DemoBusinessI extends _DemoBusinessDisp implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -702166201401416255L;

	/* (non-Javadoc)
	 * @see com.bj.ccx._DemoBusinessOperations#business(java.lang.String, Ice.Current)
	 */
	public String business(String name, Current current) {
		String msg = "";
		msg = new DemoBusiness().business(name);
		return msg;
	}

	


	public String getAnalysis(Person p, Current current) {
		String msg = null ;
		msg = "->" + p.getId() + "," + p.getName() + "," + p.getAge();
		System.out.println(msg);
		return msg;
	}
	
	
}
